#ifndef _GORBATRAS_FBXIMPORTER
#define _GORBATRAS_FBXIMPORTER

#include "Gorbatras_Library.h"

namespace GC
{
	class FbxData;

	class FbxImporter
	{
		public:		
			FbxImporter(const _TCHAR* a_inputName);
			~FbxImporter();
			//Returns the readonly version of the data object
			const FbxData* GetData();
			const bool Import();			

		private:		
			//The input filename
			const _TCHAR* m_inputName;
			/* FBX SDK objects */
			FbxNode* m_rootNode;
			FbxManager* m_sdkManager;
			FbxScene* m_scene;
			//The data object
			FbxDataPtr m_data;
			//Attempt to load the FBX scene	
			const bool TryToLoadScene();
			//Calculates how many meshes, bones e.t.c. there are in the scene
			const bool InitilizeFbxData();		

	};
}

#endif